package com.woniuxy.bankb.mapper;

import com.woniuxy.common.entity.Bank;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * @Author: 曾令忠
 * @Description:
 * @Date: 2020/7/11 0011-上午 10:47
 */
@Mapper
public interface BankaMapper {
    @Update("update bank_b set money = money+#{money} where user = #{user}")
    public int addmoney(Bank bank);
}
